#define _CRT_SECURE_NO_WARNINGS 1
#include <iostream>
#include "RBTree.hpp"
using namespace zh;
using namespace std;
int main()
{
	int arr[] = { 4,2,6,1,3,5,15,7,16,14 };
	RBTree<int, int> rb;
	for (auto e : arr)
	{
		rb.Insert(make_pair(e, e));
	}
	rb.InOrder();
	cout << rb.IsValidRBTree();
	return 0;
}